<template>
  <div class="header-none-container">
    <div class="header-body">
      <div @click="toIndex" class="logo">
        <a-image src="/base/logo.png" :preview="false"></a-image>
      </div>
      <div class="user-btn">
        <a-button type="primary" shape="round" @click="back">返回首页</a-button>
      </div>
    </div>
  </div>
</template>
<script lang="ts" setup>
const route = useRoute();
const router = useRouter();

function back(){
  navigateTo('/')
}

function toIndex(){
  navigateTo('/')
}
</script>
<style scoped lang="scss">
.header-none-container{
  height: 72px;
  //background: #FFFFFF;
  //box-shadow: 0px 4px 16px 0px rgba(47,81,255,0.25);
  border-radius: 0px 0px 0px 0px;
  opacity: 1;
  //position: fixed;
  z-index: 99;
  width: 100%;
  position: absolute;
  top: 0;
  .header-body{
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    .logo{
      cursor: pointer;
    }
    .user-btn{

    }
  }
}
@media screen and (max-width: 500px) {
  .header-none-container .header-body{
    padding: 0 10px;
  }
}


</style>
